package com.kangyi.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "公益活动报名审核分页传回数据格式")
public class ActivitiesSignupPageQueryDTO implements Serializable {

    @ApiModelProperty("报名人姓名")
    private String name;
    @ApiModelProperty("活动开始时间 :yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("状态：1待审核，2同意，3拒绝")
    private Integer status;
    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("数量")
    private Integer pageSize;
}
